<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8"/>
    <title>厅干部平时考核管理系统</title>
    <link rel="stylesheet" type="text/css" href="<c:url value='/resource/jxkh/css/main.css'/>"/>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/jquery-1.11.0.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/layer/layer.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/jquery.form.js'/>"></script>

</head>

<body>
<div class="njga" style="overflow: auto;">
    <div class="bmkhcp"  style="background: #fff;overflow: hidden;">
        <div class="bmkhcp_row">
            <div class="bmkhcp_lf" style="width: 100%;position: relative;">
                <div class="title">软件模块注册</div>
                <div class="rygl_rt_top khysz_top">

                </div>
                <table class="wdzb_table wdzb_table1" style="margin-top: 35px;">
                    <tr>
                        <th width="5%">
                            <input type="checkbox" id="chkAll" style="margin-left: 2px;" />
                        </th>
                        <th width="6%">序号</th>
                        <th width="15%">资源名称</th>
                        <th width="32%">URL路径</th>
                        <th width="15%">资源所属</th>
                        <th width="15%">备注</th>
                        <th width="12%">操作</th>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" name="chkGuid" value="1" />
                        </td>
                        <td>1</td>
                        <td>通知通报</td>
                        <td>http://127.0.0.1:8020/zygl.html?t=1510831564852</td>
                        <td>20</td>
                        <td></td>
                        <td>
                            <span class="del">删除</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" name="chkGuid" value="1" />
                        </td>
                        <td>2</td>
                        <td>通知通报</td>
                        <td></td>
                        <td>20</td>
                        <td></td>
                        <td>
                            <span class="del">删除</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" name="chkGuid" value="1" />
                        </td>
                        <td>3</td>
                        <td>通知通报</td>
                        <td></td>
                        <td>20</td>
                        <td></td>
                        <td>
                            <span class="del">删除</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" name="chkGuid" value="1" />
                        </td>
                        <td>3</td>
                        <td>通知通报</td>
                        <td></td>
                        <td>20</td>
                        <td></td>
                        <td>
                            <span class="del">删除</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="checkbox" name="chkGuid" value="1" />
                        </td>
                        <td>5</td>
                        <td>通知通报</td>
                        <td></td>
                        <td>20</td>
                        <td></td>
                        <td>
                            <span class="del">删除</span>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td></td>
                        <td>
                            <div class="row_inpt_w">
                                <input type="text" placeholder="" class="inpt" />
                            </div>
                        </td>
                        <td>
                            <div class="row_inpt_w">
                                <input type="text" placeholder="" class="inpt" />
                            </div>
                        </td>
                        <td>
                            <div class="row_inpt_w">
                                <input type="text" placeholder="" class="inpt" />
                            </div>
                        </td>
                        <td>
                            <div class="row_inpt_w">
                                <input type="text" placeholder="" class="inpt" />
                            </div>
                        </td>
                        <td>
									<span class="del">
										<button type="button" class="btn_bc">保存</button>
									</span>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

    </div>
</div>

<script type="text/javascript">
    $(document).ready(function() {

        //全选与取消
        $("#chkAll").click(function() {
            $("[name=chkGuid]:checkbox").prop("checked", this.checked);
        });
        //当所有checkbox选中，全选选中
        $("[name=chkGuid]:checkbox").click(function() {
            var flag = true;
            $("[name=chkGuid]:checkbox").each(function() {
                if(!this.checked) {
                    flag = false;
                }
            });
            $("#chkAll").prop("checked", flag);
        });
    })
</script>
</body>

</html>